/*
 * @(#)Configuration.java   09/10/12
 * 
 * Copyright (C) 2009 Ecole des Mines d'Ales
 *
 * This library is free software; you can redistribute it and/or
 * modify it under the terms of the GNU Lesser General Public
 * License as published by the Free Software Foundation; either
 * version 2 of the License, or (at your option) any later version.
 *
 * This library is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 * Lesser General Public License for more details.
 *
 * You should have received a copy of the GNU Lesser General Public
 * License along with this library; if not, write to the Free Software
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 *
 * Contact: yulinz88@gmail.com
 */



package fr.ema.arch3d.model.architecture.configuration;

import java.util.List;

//~--- classes ----------------------------------------------------------------

/**
 * Class description
 *
 *
 * @version 1.0, 09/09/16
 * @author Huaxi (Yulin) ZHANG
 */
public class Configuration implements ConfigruationOperation {

    /** a set of component classes construct this configuration */
    private List<ComponentClass> cmpClasses;

    /** a set of connector classes construct this configuration */
    private List<ConnectorClass> connectorClasses;

    /** the name of this configuation */
    private String name;

    /**
     * Getter of the property <tt>name</tt>
     *
     * @return Returns the name.
     *
     */
    public String getName() {
        return this.name;
    }

    /**
     * Setter of the property <tt>name</tt>
     *
     * @param name
     *            the name of this configuration
     *
     */
    public void setName(String name) {
        this.name = name;
    }

    /**
     * Getter of the property <tt>cmpClasses</tt>
     *
     * @return Returns the cmpClasses.
     *
     */
    @SuppressWarnings("unchecked")
    public List getCmpClasses() {
        return cmpClasses;
    }

    /**
     * Setter of the property <tt>cmpClasses</tt>
     *
     * @param cmpClasses
     *            The cmpClasses to set.
     *
     */
    @SuppressWarnings("unchecked")
    public void setCmpClasses(List cmpClasses) {
        this.cmpClasses = cmpClasses;
    }

    /**
     * Getter of the property <tt>connectorClasses</tt>
     *
     * @return Returns the connectorClasses.
     *
     */
    @SuppressWarnings("unchecked")
    public List getConnectorClasses() {
        return connectorClasses;
    }

    /**
     * Setter of the property <tt>connectorClasses</tt>
     *
     * @param connectorClasses The connectorClasses to set.
     *
     */
    @SuppressWarnings("unchecked")
    public void setConnectorClasses(List connectorClasses) {
        this.connectorClasses = connectorClasses;
    }

    /**
     * Inserts a <code>ComponentClass</code>
     *
     * @param cmpClass  the <code>ComponentClass</code> to add.
     */
    public void insertCmpClass(ComponentClass cmpClass) {

        // TODO Auto-generated method stub
    }

    /**
     * Inserts a <code>ConnectorClass</code>.
     *
     * @param ConnectorClass  the <code>ConnectorClass</code> to add.
     */
    public void insertConnectorClass(ConnectorClass ConnectorClass) {

        // TODO Auto-generated method stub
    }

    /**
     * Removes a <code>ComponentClass</code>
     *
     * @param cmpClass  the <code>ComponentClass</code> to remove.
     */
    public void removeCmpClass(ComponentClass cmpClass) {

        // TODO Auto-generated method stub
    }

    /**
     * Removes a <code>ConnectorClass</code>
     *
     * @param ConnectorClass  the <code>ConnectorClass</code> to remove
     */
    public void removeConnectorClass(ConnectorClass ConnectorClass) {}
}
